
    <!--{if isset($this->tab)}-->
    <div class="tab">
        <ul>
            <!--{loop $this->tab $k $v}-->
            <li{$k == $this->type ? ' class="current"' : ''}><a href="{$this->url( $c, null, array( 'type' => $k ) )}">{$v}</a></li>
            <!--{/loop}-->
        </ul>
    </div>
    <!--{/if}-->